/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package test.turtle.impl;

import java.util.ArrayList;
import java.util.List;

import test.turtle.Action;
import test.turtle.Choreography;


/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Choreography</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link turtle.impl.ChoreographyImpl#getDefined <em>Defined</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class ChoreographyImpl implements Choreography {
	/**
	 * The cached value of the '{@link #getDefined() <em>Defined</em>}' containment reference list.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #getDefined()
	 * @generated
	 * @ordered
	 */
	protected List<Action> defined;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected ChoreographyImpl() {
		defined = new ArrayList<Action>();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public List<Action> getDefined() {
		return defined;
	}
	
	public void addDefined(Action a)
	{
		defined.add(a);
	}
} //ChoreographyImpl
